<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Activiti Explorer</title>
	<%@ include file="/common/global.jsp"%>
	<%@ include file="/common/meta.jsp" %>
    <%@ include file="/common/include-base-styles.jsp" %>
</head>

<body style="margin-top: 3em;">
	<center>
	<c:if test="${not empty error}">
		<h2 id="error" class="alert alert-error">${error}</h2>
	</c:if>
	<div style="width: 500px">
		<h2>注册</h2>
		<f:form method="post" modelAttribute="user" class="form-horizontal">
			<div class="control-group">
				<label class="control-label" for="username">用户名：</label>
				<div class="controls">
					<f:input id="username" path="username" />
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="password">密码：</label>
				<div class="controls">
					<f:input id="password" path="password" type="password" />
				</div>
			</div>
			
			<div class="control-group">
				<div class="controls" >
					<button type="submit" class="btn btn-primary">注册</button>
				</div>
			</div>
		</f:form>
	</div>
	</center>
</body>
</html>